@extends('home/layout/index')
@section('header')

<div class='nav-ul-view'>
  <ul class='menu g'>

    <li class='gi
        
        '>
      <a class='m-item' href='/home'>
        <span>首页</span>
      </a>
    </li>
    <li class='gio
        is-active'>
      <a class='m-item' href='/home/chanpin'>
        <span>产品</span>
      </a>
    </li>
                                <li class='gi'>
      <a class='m-item' id='storeLink' href='/home/shop' data-hd-url='http://hd.oppo.com/act/2016/1001/index.html'>
        <span>商城</span>
              </a>
          </li>
    <li class='gi
        '>
      <a class='m-item' href='/home/notice'>
        <span>公告</span>
      </a>
    </li>
    <li class='gi
        '>

    </li>
   
  </ul>
  </div>

@endsection
@section('content')
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>商品评价</title>

<style type="text/css">

</style>
</head>
<body>
 <form action="/home/pinglun/insert" method="post">
 <input type="hidden" name="gname" value="{{$gname}}">
  {{csrf_field()}}
<center>
        <div class="mws-form-row" >
               <label class="mws-form-label">评价内容</label>
        <div class="mws-form-item" style="width:600px" >
        <script name="content" id="container" type="text/plain"  value="" placeholder="11111">
          
        </script>
        <script type="text/javascript" src="/u/ueditor.config.js"></script>
        <!-- 编辑器源码文件 -->
        <script type="text/javascript" src="/u/ueditor.all.js"></script>
        <!-- 实例化编辑器 -->
        <script type="text/javascript">
               var ue = UE.getEditor('container');
        </script>
        </div>
        </div>
        <input type="submit" value="提交" onclick="return confirm('确定评价')" style="margin-top:2px">

</center>
</form> 
</body>
</html>

@endsection
